package com.hzhr.iot.device.model.concentrator_command;


import com.hzhr.iot.collect.sdk.model.collectLog.CollectLogModel;
import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "Concentrator_CommandModel", description = "集中器下的指令模型")
@CygModel(model = CollectLogModel.class)
public class Concentrator_CommandModel {
    @ApiModelProperty(value = "说明 : 编号", required = true)
    @CygProperty(show = "", entityProp = "id")
    private Integer id;

    @ApiModelProperty(value = "说明 : 功能码(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "functionCode")
    private String functionCode;
    @ApiModelProperty(value = "说明 : 功能名(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "functionName")
    private String functionName;
    @ApiModelProperty(value = "说明 : 发起对象(show_info=true时展示)(1 服务器 2 设备)", required = true)
    @CygProperty(show = "_show_info", entityProp = "starter")
    private Integer starter;
    @ApiModelProperty(value = "说明 : 类型(show_info=true时展示)(1 请求 2 响应)", required = true)
    @CygProperty(show = "_show_info", entityProp = "type")
    private Integer type;
    @ApiModelProperty(value = "说明 : 请求时间(show_info=true时展示)(毫秒级时间戳)", required = true)
    @CygProperty(show = "_show_info", entityProp = "startTime")
    private Long startTime;
    @ApiModelProperty(value = "说明 : 报文(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "message")
    private String message;
    @ApiModelProperty(value = "说明 : 报文解释(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "messageObj")
    private String messageObj;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFunctionCode() {
        return functionCode;
    }

    public void setFunctionCode(String functionCode) {
        this.functionCode = functionCode;
    }

    public String getFunctionName() {
        return functionName;
    }

    public void setFunctionName(String functionName) {
        this.functionName = functionName;
    }

    public Integer getStarter() {
        return starter;
    }

    public void setStarter(Integer starter) {
        this.starter = starter;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMessageObj() {
        return messageObj;
    }

    public void setMessageObj(String messageObj) {
        this.messageObj = messageObj;
    }
}